package com.lncd.backend.service;

import com.lncd.backend.dto.LocationDTO;

import java.util.Date;
import java.util.List;

public interface LocationService {
    LocationDTO addLocation(LocationDTO locationDTO);
    LocationDTO getLocationById(Long id);
    List<LocationDTO> getLocationsByUserId(Long userId);
    List<LocationDTO> getLocationsByUserIdAndTimeRange(Long userId, Date startTime, Date endTime);
    LocationDTO getLatestLocationByUserId(Long userId);
    void deleteLocation(Long id);
} 